package com.xmb.wcapi.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmb.wcapi.entity.QualityData;

import java.util.List;
import java.util.Set;

public interface IQualityDataService extends IService<QualityData> {

    IPage<QualityData> qualityData(Integer page, Integer limit, String cusCode, String startTime, String endTime, String material);

    IPage<QualityData> qualityDataNext(Integer page, Integer limit, String cusCode, String startTime, String endTime, String material);

    IPage<QualityData> qualityDataNextApi(Integer page, Integer limit, String cusCode, String startTime, String endTime, String material);

    IPage<QualityData> selectPageList(Integer page, Integer limit, String startTime, String endTime, List<String> set);

    List<JSONObject> getMaterialDaySum(boolean one, String time, Set<String> material);

}
